package com.iting.xmltest.service;

import com.iting.xmltest.bean.User;
import com.iting.xmltest.mapper.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Nie ZhiPeng
 */
@Service
public class UserService {
  @Autowired
  private UserDao userDao;

  public List<User> findAllUser(){
    return userDao.findAllUser();
  }
}
